/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package im.subscriptionpackage;

import java.io.Serializable;

/**
 *
 * @author Giovanni
 */
public class TypeSubscription extends Subscription implements Serializable {

    private Object type = null;
    private String hierarchy = null;

    public TypeSubscription(/*int nodeID, Event_old ev,*/Object type, String hierarchy) {
        //super(nodeID, ev);
        this.hierarchy = hierarchy;
        this.type = type;

    }

    public String getHierarchy() {
        return hierarchy;
    }

    public void setHierarchy(String hierarchy) {
        this.hierarchy = hierarchy;
    }

    public Object getType() {
        return type;
    }

    public void setType(Object type) {
        this.type = type;
    }
}
